const {logStr} = require('./util/console.log')
const express = require('express')
const bodyParser = require('body-parser')
const cors = require('cors')
const app = express()
app.use(cors())
const router = require('./router/index')

app.use(bodyParser.urlencoded({limit:'1024MB'}))
app.use(bodyParser.json())

app.use('/api',router)


app.listen(8066,()=>{
    console.log('app run server http://localhost:8066');
})
